import { defineAmisPlugin, getBaseFormItem, getInputTpl } from '../../base/util';
import component from './fc';
import type { IProps } from './interface';

export default defineAmisPlugin<IProps>(() => {
    return {
        component,
        options: getBaseFormItem({ type: 'input-password', order: -6987, name: '密码框', icon: 'EyeOutlined',xtype:'Password',
            tpls: [
                getInputTpl('placeholder', { label: "提示文本" }),
                getInputTpl('maxLength', { label: "最大文字数" ,type:'number'})   
              ]
         })
    };
});
